Skip to main content

codepoints

Type

keyword

Summary

Used with the number function to designate codepoints as a separate portion of a string.

Syntax

codepoints

Description

Use the codepoints keyword to count the number of codepoints making up a string.

A codepoint refers to the integer identifiers associated with Unicode characters. A single character is composed of one or more codepoints.

Use the expression

the number of codepoints of tString

to find out how many codepoints make up a Unicode string.

Examples

get the number of codepoints of tString

function: number

glossary: function

keyword: characters, codepoint, codeunits, character, string, codeunit, bytes, byte

Compatibility and Support

Introduced

LiveCode 7.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?